home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / doom / addons.zip / JOY2KEY.ZIP / JOY2KEY2.TXT < prev   
Text File  |  1997-04-12  |  3KB  |  64 lines

  1.   Program      : joy2key
  2.  
  3.   Version      : 1.0
  4.  
  5.   Source       : joy2key.asm
  6.  
  7.   Copyright    : Michael Rans
  8.  
  9.   Purpose      : Terminate and Stay Resident Program to convert joystick
  10.                  movements to simulated keyboard key presses. I have
  11.                  mapped the movements to the arrow keys. It does not put
  12.                  keystrokes into the keyboard buffer, but rather programs
  13.                  programs the keyboard directly through ports 60h and 64h.
  14.  
  15.   Platform     : I have tested it in DOS 7.00 (Win 95 DOS) and from
  16.                  within a DOS shell in Windows 95. My computer here
  17.                  is a 486 DX33. The joystick is plugged into the game
  18.                  port of a Gravis Ultrasound card.
  19.                  When I get back to university, I will test this
  20.                  program on a Pentium 100Mhz with the game port of a
  21.                  Soundblaster AWE 32.
  22.                  The program was assembled with Tasm as a ".com"
  23.                  program.
  24.  
  25.                  tasm joy2key
  26.                  tlink /3 /t /n /x joy2key
  27.  
  28.   Quake        : My 486 only runs Quake in DOS (just about). The program
  29.                  works fine in this circumstance. It should work in a
  30.                  Windows 95 DOS shell, but until I get back to
  31.                  university, I won't be able to test this. Please tell
  32.                  me under what circumstances you get it to work.
  33.  
  34.   Problems     : This program may be hardware specific. I have only
  35.                  tested it on my machine. Use it at your own risk.
  36.                  I designed it for Quake. Quake allows you to map the
  37.                  joystick buttons even after disabling the joystick.
  38.                  For some reason, you can bind buttons and keys, but not
  39.                  joystick (or mouse) movements, hence why I wrote this
  40.                  program. This is why I haven't assigned the joystick
  41.                  buttons to keys. If I receive a number of requests for
  42.                  this, I may code it. Additionally, the keys joystick
  43.                  movements are mapped to are set (the arrow keys), not
  44.                  configurable.
  45.                  The program will not unload itself, but other public
  46.                  domain programs will unload it, so I didn't bother
  47.                  to code this feature.
  48.                  If you screw up the calibration, by moving the joystick
  49.                  incorrectly, you may have to reset since the program may
  50.                  output to the keyboard buffer when the joystick is
  51.                  centred. Just follow the instructions.
  52.  
  53.   Price:         This program is freeware. (Hooray, I hear you shout.)
  54.                  All I ask is that if you like it, drop me an e-mail
  55.                  saying so.
  56.                  If you have any problems or want to suggest
  57.                  improvements, you can e-mail me on
  58.                  harold.rans@virgin.net
  59.                  Please put "joy2key" in the subject. Feel free to alter it
  60.                  to your own requirements. If you make an improvement, please
  61.                  send me a copy. If you find a bug, tell me, but I can't
  62.                  promise that I will be able to fix it.
  63.  
  64.